import { createApp } from 'vue'
import App from './App.vue'
import './assets/styles/Tailwind.css'
import router from './router/index.js'
import { useUserAuthorizeInfo } from './utils/userAuthorizeInfo'
import { createPinia } from 'pinia'

hccms.init.auth(
  {
    deptid: DEPTID,
    activityid: ACTIVITYID,
    scenetype: SCENETYPE,
    title: TITLE,
    actiontype: 0,
  },
  (e) => {
    // if (hccms.win.logins.init({ waytype: 1 })) return false
    useUserAuthorizeInfo(e)
    createApp(App).use(createPinia()).use(router).mount('#app')
  }
)
